function collect_same_elements(collection_a, collection_b) {
  //在这里写入代码
  return collection_a.filter((item)=>{
    for(let value of collection_b[0]){
      if(item === value){
        return item ;
      }
    }
  }) ;
}

module.exports = collect_same_elements;
